{include file="header.tpl" docTitle="用户登录"  showTitle="用户登录" hideUser=true ajax=true}
<link rel="stylesheet" href="asset/build/css/member.css">

<main id="main">
    <div class="container">
        <form class="form login-form clearfix" action="user.php?type=login" method="post" data-success-url="member.php?type=index">
            <div class="form-group">
                <div class="input-row">
                    <label for="input-username"><i class="fa fa-user"></i></label>
                    <input id="input-username" type="text" class="form-control" name="username"  placeholder="用户名">
                </div>
            </div>

            <div class="form-group">
                <div class="input-row">
                    <label for="input-pass"><i class="fa fa-key"></i></label>
                    <input id="input-pass" type="password" class="form-control" name="password" placeholder="密码">
                </div>
                
            </div>
            <div class="checkbox">
                <label>
                    <input type="checkbox" name="remember" value="1">记住登录状态
                </label>
            </div>
            <button type="submit" class="btn btn-primary btn-block">立即登录</button>
        </form>
        <hr>
        <p>还没有帐号？<a href="member.php?type=register&amp;from=login">注册</a></p>
    </div>
    
</main>

{include file="footer.tpl" ajax=true}
